#
# Be sure to run `pod lib lint MXFoundation.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'ReactNativeStaticLibrary'
  s.version          = '0.37.1'
  s.summary          = 'the static libary for react native'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
    这个是自己打包的ReactNative的静态文件(a) 包括了React Native 0.37基本内容
                       DESC

  s.homepage         = 'https://mxd01.vincent78.top/index.html'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :text => <<-LICENSE
                   Copyright 2018
                   Permission is granted to anybody
                      LICENSE
                  }
  s.author           = { 'vincent78' => 'xyq@80021.com' }
  #  s.source           = { :git => 'ssh://git@192.168.4.253:30001/RN037/MXFoundation.git', :tag => s.version.to_s }
  s.source           = { :http => 'http://mxd01.vincent78.top/pod/ReactNativeStaticLibrary-0.37.1.zip' }

  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.3'

  s.source_files = '**/*.h'
  s.vendored_libraries = '**/*.a'

  s.xcconfig =   {'OTHER_LDFLAGS' => ['$(inherited)','-ObjC','-all_load','-lc++']}
  s.frameworks = 'javaScriptCore'
  s.static_framework = true
end